const http = uni.$u.http

// 微信用户表-编辑
export const qxWxUserEdit = (params) => http.post('/chihiro/qxWxUser/edit', params)

// 分页查询云相册
export const qxCloudMediaList = (params) => http.get('/chihiro/qxCloudMedia/list', { params })

// 研习基地管理-分页列表查询
export const qxHomebaseManageList = (params) => http.get('/chihiro/qxHomebaseManage/list', { params })

// 研习基地管理-通过id查询
export const qxHomebaseManageQueryById = (params) => http.get('/chihiro/qxHomebaseManage/queryXcxById', { params })

// 活动管理-分页列表查询-小程序查询活动
export const qxActivityManageList = (params) => http.get('/chihiro/qxActivityManage/list', { params })

// 小程序添加点赞数,浏览量,转发数
export const qxActivityManageListMini = (params) => http.post('/chihiro/qxActivityManage/addLikes', params)

// 获取腾讯地图逆地址解析
export const addressResolution = (params) => http.get('/chihiro/tencentMap/addressResolution', { params })

// 活动管理-通过id查询
export const qxActivityManageQueryById = (params) => http.get('/chihiro/qxActivityManage/queryById', { params })

// 轮播图-小程序轮播图查询
export const selectXcxList = (params) => http.get('/chihiro/qxRotationChart/selectXcxList', { params })

// 小程序添加点赞数
export const addLikes = (params) => http.post('/chihiro/qxActivityManage/addLikes', params)

// 活动图片和视频管理-分页列表查询-
export const qxActivityMediaList = (params) => http.get('/chihiro/qxActivityMedia/list', { params })

// 添加云相册
export const qxCloudMediaAdd = (params) => http.post('/chihiro/qxCloudMedia/add', params)

// 小程序添加 浏览量,转发数
export const updateActivityNum = (params) => http.post('/chihiro/qxActivityManage/updateActivityNum', params)

// 活动评论表-查询所有评论
export const showQxComments = (params) => http.get('/chihiro/qxComment/showQxComments', { params })

// 活动评论表-查询所有一级评论
export const showQxOneComments = (params) => http.get('/chihiro/qxComment/showQxOneComments', { params })

// 活动评论表-查询一级评论下的二级评论
export const showQxTwoComments = (params) => http.get('/chihiro/qxComment/showQxTwoComments', { params })

// 活动评论表-添加
export const qxCommentAdd = (params) => http.post('/chihiro/qxComment/add', params)

// 活动评论表-点赞
export const isLike = (params) => http.post('/chihiro/qxComment/isLike', params)

// 活动图集视频点赞、浏览、转发
export const addActivityMediaLikesAndBrowse = (params) => http.post('/chihiro/qxActivityMedia/addActivityMediaLikesAndBrowse', params)

// 收藏表-添加收藏
export const qxCommentCollectEdit = (params) => http.post('/chihiro/qxCommentCollect/edit', params)

// 活动管理-查询是否有视频级图集
export const queryIsMedia = (params) => http.get('/chihiro/qxActivityManage/queryIsMedia', { params })

// 活动管理-分享获取二维码
export const queryShareQRCode = (params) => http.get('/chihiro/qxActivityManage/queryShareQRCode', { params })